import store from '@/store'
export default {
  methods: {
    checkPerm(name) {
      const points = store.state.user.userInfo.roles.points
      // console.log(points.includes(name))
      return !points.includes(name)
    }
  }
}
